<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
    request.setAttribute("basePath", request.getContextPath());
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1">
    <title><fmt:message key="application_name"/> 帮助所有企业做成网上的肉牛产品生意</title>
    <%@ include file="common/frontpage_head_meta.jsp" %>
</head>
<body>
<%@ include file="common/frontpage_head.jsp" %>

<div class="content p10">
    <div class="w230">
        <h2><span>最新供求</span> <a href="supply.jhtm" target="_blank">更多>></a>&nbsp;
        </h2>

        <div class="border">
            <div id="realtimeQuote" style="height:190px; overflow:hidden;">
                <div id="marqueebox" style="height:350px;">
                    <c:forEach items="${gyxxEntity}" var="gyxx">
                        <dl class="Row titleCut_inline">
                            <dt class="titleCut_inline">&middot;<a target="_blank" href="/s/goods_detail/${gyxx.wid}"
                                                                   title="${gyxx.title} &yen;${gyxx.priceFormat}/${gyxx.unit}">${gyxx.title}</a></dt>
                            <dd>&yen;${gyxx.priceFormat}/${gyxx.unit}</dd>
                        </dl>
                    </c:forEach>
                </div>
            </div>
            <script type="text/javascript">
                startmarquee(24, 20, 2000);
            </script>
            <div class="pot"></div>
            <dl class="icon_title">
                <dt><a href="demand.jhtm" target="_blank"><img src="${basePath}/UI/frontui/img/bj_icon.gif" alt="更多求购"
                                                               width="56" height="58"></a></dt>
                <dd>
                    <c:forEach items="${qgxxEntity}" var="qgxx">
                        <p class="titleCut_inline">[求购] <a href="/s/demand_detail/${qgxx.wid}"
                                                           title="${qgxx.title}">${qgxx.title}</a></p>
                    </c:forEach>
                </dd>
            </dl>

        </div>
    </div>
    <div class="ad">
        <div class="SlideAd">
            <div class="play">
                <ul>
                    <li class="playNum">
                        <a>
                            <p>1</p>
                        </a><a>
                        <p>2</p>
                    </a><a>
                        <p>3</p>
                    </a>
                    </li>
                    <li class="playShow">
                        <a
                                href="${basePath}/"
                                target="_blank" title="年货专题" rel='nofollow'><img
                                src="${basePath}/UI/webui/img/ad/1.jpg" width="464"
                                height="181" alt="年货专题"/></a>
                        <a href="${basePath}/"
                           target="_blank" title="“润可尔”紫苏油招商" rel='nofollow'><img
                                src="${basePath}/UI/webui/img/ad/2.jpg" width="464"
                                height="181" alt="“润可尔”紫苏油招商"/></a>
                        <a href="${basePath}/"
                           target="_blank" title="电商谷签约大汇总专题" rel='nofollow'><img
                                src="${basePath}/UI/webui/img/ad/3.jpg" width="464"
                                height="181" alt="电商谷签约大汇总专题"/></a>
                    </li>
                </ul>
            </div>
            <SCRIPT type="text/javascript" language="javascript">
                //		    	$("#switchBox").switchTab();
                switchPic();
            </SCRIPT>
        </div>
        <div class="BuyInfo"><strong>推荐产品</strong>
            <a class="buy_more"
               href=""
               target="_blank" title="我也要在这里出现" rel="nofollow"><span class="arrow"><<</span>我也要在这里出现</a></div>
        <div class="rollBox">
            <div class="LeftBotton" onmousedown="ISL_GoUp()" onmouseup="ISL_StopUp()" onmouseout="ISL_StopUp()"></div>
            <div class="Cont" id="ISL_Cont">
                <div class="ScrCont">
                    <div id="List1">
                        <ul>
                            <c:forEach items="${recommends}" var="cp">
                                <li>
                                    <a href="/s/goods_detail/${cp.wid}" target="_blank" title="${cp.title}"><img
                                            src="/${cp.picpath}" width="93" height="113" alt="${cp.title}"/></a>
                                </li>
                            </c:forEach>
                        </ul>
                    </div>
                    <div id="List2"></div>
                </div>
            </div>
            <div class="RightBotton" onmousedown="ISL_GoDown()" onmouseup="ISL_StopDown()"
                 onmouseout="ISL_StopDown()"></div>
        </div>
    </div>
    <div class="w230">
        <ul class="login_reg">
            <li class="login"><a href="s/register" title="免费注册" rel="nofollow">免费注册</a></li>
            <li class="reg"><a href="s/login" title="会员登录" rel="nofollow">会员登录</a></li>
        </ul>
        <div class="S_block">
            <h2><span>网站公告</span></h2>

            <div class="border">
                <ul class="list_L gy">
                    <c:forEach var="entity" items="${tzggEntity}" varStatus="status">
                        <li class="titleCut_inline">·<a title="${entity.bt}" target="_blank"
                                                        href="${basePath}/html/${entity.lmwid}-${entity.wid}.jhtm">${entity.bt}</a>
                        </li>
                    </c:forEach>
                </ul>
            </div>
        </div>
        <div class="S_block p10">
            <h2><span>价格行情</span><a href="channel/jghq.jhtm">更多&gt;&gt;</a></h2>

            <div class="border">
                <ul class="list_L gy">
                    <c:forEach var="entity" items="${jghqEntity}" varStatus="status">
                        <li class="titleCut_inline">·<a title="${entity.bt}" target="_blank"
                                                        href="${basePath}/html/${entity.lmwid}-${entity.wid}.jhtm">${entity.bt}</a>
                        </li>
                    </c:forEach>
                </ul>
            </div>
        </div>
    </div>
</div>
<div style="padding: 5px">

</div>
<div class="content">
    <div class="bussinessNav_Box">
        <h2><span class="tit">交易大厅</span></h2>

        <div class="Industry " onmouseover="this.className='IndustryON '"
             onmouseout="this.className='Industry '">
            <h3><a href="" target="_blank"></a></h3>
            <c:set var="childCount" value="0"/><%--用于限制子类输出个数--%>
<c:forEach items="${classinfo}" var="c" varStatus="i">
    <c:if test="${c.upcid=='000'}">
        <c:set var="childCount" value="0"/><%--置空--%>
        <c:if test="${i.index>0}">
                    <a href="${basePath}/supply.jhtm" target="_blank">更多>></a>
                </div>
            </div>
        </c:if>
            <div class="procate">
                <dl>
                    <dt><a title="${c.cname}"
                            rel='nofollow'>${c.cname}</a></dt>
                    <dd></dd>
                </dl>
                <div>
    </c:if>
    <c:if test="${c.upcid!='000' && childCount<10}">
                    <a title="${c.cname}" href="${basePath}/supply.jhtm?cid=${c.cid}" target="_blank">${c.cname}</a>
                    <b>|</b>
        <c:set var="childCount" value="${childCount +1}"/>
    </c:if>
    <c:if test="${i.last}">
                    <a href="${basePath}/supply.jhtm" target="_blank">更多>></a>
                </div>
            </div>
    </c:if>
</c:forEach>
        </div>
    </div>
    <!-- 分类信息 end -->

    <div class="w230">
        <div class="S_block">
            <h2><span>热门产品</span><a href="/supply.jhtm?ordert=hitd" target="_blank">更多&gt;&gt;</a></h2>

            <div class="border">
                <ul class="banner_pic">
                    <c:forEach items="${rmcpEntity}" var="rmcp">
                        <li><a href="/s/goods_detail/${rmcp.wid}" target="_blank"
                               title="${rmcp.title} ￥${rmcp.priceFormat}元/${rmcp.unit}"><img
                                src="${rmcp.picPath}" width="94" height="110"
                                alt="${rmcp.title} ￥${rmcp.priceFormat}元/${rmcp.unit}"></a>
                        <span class="titleCut_inline"><a href="/s/goods_detail/${rmcp.wid}" target="_blank"
                                                         title="${rmcp.title} ￥${rmcp.priceFormat}元/${rmcp.unit}">￥${rmcp.priceFormat}元/${rmcp.unit}</a></span>
                        </li>
                    </c:forEach>
                </ul>
                <div class="clear"></div>
            </div>
        </div>

        <div class="S_block p10">
            <h2><span>好评商家</span><a href="/corporation.jhtm?ordert=xyd" target="_blank">更多>></a></h2>

            <div class="border borderH">
                <dl class="join">
                    <c:forEach items="${dpEntity}" var="corp">
                        <dt><a href="${basePath }/s/shop/my/${corp.departid}" target="_blank"
                               title="${corp.departname}"><img
                                src="/${corp.logo}" width="90" height="64" alt="${corp.departname}"/></a>
                            <a href="${basePath }/s/shop/my/${corp.departid}" target="_blank"
                               title="${corp.departname}">${corp.departname}</a>
                        </dt>
                    </c:forEach>
                </dl>
                <ul class="list_L">
                    <c:forEach items="${dp2Entity}" var="corp">
                        <li>&middot;<a title="${corp.departname}" href="${basePath }/s/shop/my/${corp.departid}"
                                       target="_blank">${corp.departname}</a></li>
                    </c:forEach>
                </ul>
            </div>
        </div>

    </div>
</div>

<div class="content p10">
    <h2 class="Btitle"><span class="Toptit">肉牛产品展厅</span>
    </h2>

    <div class="border only">
        <ul>
            <c:forEach items="${gyxxEntity}" var="rmcp">
                <li class="titleCut_inline">
                    <a href="/s/goods_detail/${rmcp.wid}" target="_blank"><img
                            src="${rmcp.picPath}" width="138" height="78"
                            alt="${rmcp.title} ￥${rmcp.priceFormat}元/${rmcp.unit}"></a>
                    <a href="/s/goods_detail/${rmcp.wid}" target="_blank"
                       title="${rmcp.title} ￥${rmcp.priceFormat}元/${rmcp.unit}">${rmcp.title}</a>
                </li>
            </c:forEach>
        </ul>
    </div>

</div>

<div class="content p10">
    <h2 class="College_tit"><span class="title">资讯速递</span> <span class="tager"> </span></h2>

    <div class="border">
        <div class="News E_business">
            <h2><span>政策法规</span><a href="${basePath}/channel/zcfg.jhtm" target="_blank">更多&gt;&gt;</a></h2>
            <ul>
                <c:forEach items="${hyzhEntity}" var="article">
                    <li class="titleCut_inline">·<a title="${article.bt}"
                                                    href="${basePath}/html/${article.lmwid}-${article.wid}.jhtm"
                                                    target="_blank">${article.bt}</a></li>
                </c:forEach>
            </ul>
        </div>
        <div class="News story">
            <h2><span>行业动态</span><a href="${basePath}/channel/hydt.jhtm" target="_blank">更多&gt;&gt;</a></h2>
            <ul class="story_pic">
                <c:if test="${picNewsOfHydt!=null}">
                    <c:forEach items="${picNewsOfHydt}" var="article" varStatus="i">
                        <li><a href="${basePath}/html/${article.lmwid}-${article.wid}.jhtm" target="_blank"
                               title="${article.bt}"><img src="${entity.syydt}" width="120" height="80"
                                                          alt="${article.bt}"></a>
                            <span><a href="${basePath}/html/${article.lmwid}-${article.wid}.jhtm" target="_blank"
                                     title="${article.bt}">${article.bt}</a></span></li>
                    </c:forEach>
                </c:if>
            </ul>
            <dl class="story_list">
                <c:forEach items="${hydtEntity}" var="article" varStatus="i">
                    <c:if test="${i.index==0}">
                        <dt class="title"><strong>
                            <a title="${article.bt}" href="${basePath}/html/${article.lmwid}-${article.wid}.jhtm"
                               target="_blank">${article.bt}</a>
                        </strong>
                        </dt>
                    </c:if>
                    <c:if test="${i.index>0}">
                        <dd class="titleCut_inline">
                            <a href="${basePath}/html/${article.lmwid}-${article.wid}.jhtm" title="${article.bt}"
                               target="_blank">${article.bt}</a>
                        </dd>
                    </c:if>
                </c:forEach>
            </dl>
        </div>
        <div class="News movement">
            <h2><span>商家动态</span><a href="${basePath}/channel/sjdt.jhtm" target="_blank">更多&gt;&gt;</a></h2>
            <c:if test="${picNewsOfDepartEntity!=null}">
                <dl class="movement_pic">
                    <dt>
                        <a href="${basePath}/s/shop/news/${picNewsOfDepartEntity.bturl}/${picNewsOfDepartEntity.wid}.jhtm"
                           target="_blank" title="${picNewsOfDepartEntity.bt}"><img src="${picNewsOfDepartEntity.syydt}"
                                                                                    width="78" height="65"
                                                                                    alt="${picNewsOfDepartEntity.bt}"></a>
                    </dt>
                    <dd>
                        <a href="${basePath}/s/shop/news/${picNewsOfDepartEntity.bturl}/${picNewsOfDepartEntity.wid}.jhtm"
                           target="_blank" title="${picNewsOfDepartEntity.bt}">${picNewsOfDepartEntity.bt}</a></dd>

                </dl>
            </c:if>
            <ul class="wkdt" style="margin-top: 12px">
                <c:forEach var="entity" items="${newsOfDepartEntity}" varStatus="status">
                    <li class="titleCut_inline"><a title="${entity.bt}" target="_blank"
                                                   href="${basePath}/s/shop/news/${entity.bturl}/${entity.wid}.jhtm">${entity.bt}</a>
                    </li>
                </c:forEach>
            </ul>
        </div>
        <div class="clear"></div>
    </div>
</div>

<%@ include file="common/frontpage_foot.jsp" %>
<script type="text/javascript" src="${basePath}/UI/frontui/js/NewIndex.js"></script>
</body>
</html>
